this._changedIdleId = GLib.idle_add(GLib.PRIORITY_DEFAULT, () => {
this._changedIdleId = 0;
- this.emit('changed');
+ this.emit('bg-changed');
return GLib.SOURCE_REMOVE;
});
+ GLib.Source.set_name_by_id(this._changedIdleId,
+ '[gnome-shell] Background._emitChangedSignal');
}
updateResolution() {
// We don't watch changes to settings here,
// instead we rely on Background to watch those
- // and emit 'changed' at the right time
+ // and emit 'bg-changed' at the right time
if (this._overrideImage != null) {
file = Gio.File.new_for_path(this._overrideImage);
style: style
});
- background._changedId = background.connect('changed', () => {
+ background._changedId = background.connect('bg-changed', () => {
background.disconnect(background._changedId);
background.destroy();
delete this._backgrounds[monitorIndex];
backgroundActor.lower_bottom();
}
- let changeSignalId = background.connect('changed', () => {
+ let changeSignalId = background.connect('bg-changed', () => {
background.disconnect(changeSignalId);
changeSignalId = null;
this._updateBackgroundActor();